#ifndef POSITION_INFO_H
#define POSITION_INFO_H

#include <string>

namespace GME
{
  namespace Position
  {
    /// a helpful typedef to simplify working with 
    /// std::pair <unsigned int, unsigned int>. You don't
    /// have to necessarily use GME::Position::Pair, but
    /// it's there if you want to
    typedef std::pair <unsigned int, unsigned int> Pair;

    /// strips a GME position string into a std::pair
    /// GME positions are encoded "(x,y)", so you can fake
    /// this if you want to and the function will work
    static Pair strip_position (std::string position);
  }
};

/// apparently, if it's a static module function, you have
/// to include it in the header file
#include "PositionInfo.cpp"

#endif
